#import "AcceptResult.h"

@implementation AcceptResult

@synthesize success;
@synthesize workitemId;

- (id)initWithJsonDic:(NSDictionary*)dictionary {
	self = [super init];
	if(self != nil) {
		workitemId = [(NSDecimalNumber*)[dictionary objectForKey:@"workitemId"] longValue];
		success = [(NSDecimalNumber*)[dictionary objectForKey:@"success"] boolValue];
	}
	return self;
}

- (void)dealloc {
    [super dealloc];
}


@end
